updated game-of-life