added game-of-life like evolution of grid state