There, fixed it.  Also you screwed up the input of the algorithm bad wizurd.
Merge branch 'master' of https://github.com/iburinoc/LifeSim