implement multiple iterations of game of life