Solution to the game of life problem.