Problem with Game of Life

A yes true … thanks. probably need to figure out a new way for this. It was the second counting version I tried to come up with as I had the same issue with the previous method using mods (which I think I didn’t fully understand)