This is an implementation of what is known as Conway's game of life.