let transition_rule_antimaj neighbours configuration cell =
let n = neighbours.(cell) in
let sum_of_neighbours =
Array.fold_left (fun accu neighbour -> accu + int_of_bool configuration.(neighbour)) 0 n
+ int_of_bool configuration.(cell) in
if sum_of_neighbours <= (1+ Array.length n)/2 then true else false