- Sentences below are misleading
A living cell will survive only if it has 2 or 3 neighbours (<2: isolation death, >3: overpopulation death).
Each top-left, top-right, bottom-left && bottom-right corned cells have 3 neighbors, other cornered cells have 5, whilst non-corner cells have 8. So above statement should be
A living cell will survive only if it has 2 or 3 neighboring living cell (<2: isolation death, >3: overpopulation death).
The same applies to following statements:
a dead cell has exactly 3 neighbours, it comes back to life, else it stays dead.
Example: Classic rules
001100000 A living cell survives if it has 2 or 3 neighbours, and dies if 0,1 or 4+.
000100000 A dead cell is back to life if it has 3 neighbours, and stays dead if any other number.
-
Second line: 9 not space separated binary integers
Third line: 9 not space separated binary integers,
I think need not to mention not space separated, sounds a bit weird in context …