This is Conway's Game of Life written using only one sprite. When the flag is clicked, the grid will be randomly populated with about 25% live cells, then the simulation will progress according to the standard rules.
For more information about Conway's Game of Life, visit these pages: http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life http://conwaylife.com/wiki/Main_Page