It seems possible, at this point, that efficiency of neighbor counting could be drastically improved by counting for each neighbor in one step, rather than counting for each neighbor when that cell needs to know how many neighbors it has.
This code may need a refactor for efficiency
It seems possible, at this point, that efficiency of neighbor counting could be drastically improved by counting for each neighbor in one step, rather than counting for each neighbor when that cell needs to know how many neighbors it has. This code may need a refactor for efficiency