Each cell represents an organism in a population, and its state (on/off, alive/dead) in each generation reflects a competition for resources and other factors of a finite geographical space. For each iteration, a cell is alive or dead depending on its own previous state and the previous states of surrounding cells. Specifically, for each iteration: