Modified version of game of life.