This is basically just Conway´s game of life. The game is extremely hard if you don't know cellular automaton like how to create a glider.