The Game of Life is a zero-player game created by John Horton Conway in 1970. The game typically
consist of a grid of cells of arbitrary size. Each cell can be either alive or dead. Three rules
determine the state of each cell after each generation:
Rule 1: Any live cell with two or three live neighbors will be alive in the next generation.
Rule 2: Any dead cell with exactly three neighbors will be alive in the next generation.
Rule 3: All other live cells die in the next generation. Similarly, all other dead cells stay
dead.