can now produce a correct next generation for any array size
IT WORKS (i think)