Conway's Game of Life

Conway's Game of Life is a cellular automaton where each cell can be "alive" or "dead". Cells evolve based on the states of their neighbors, creating complex patterns over time. Any live cell with fewer than two live neighbours or more than three live neighbours dies. Any dead cell with exactly three live neighbours becomes a live cell. All other live cells remain alive, and all other dead cells remain dead.