Fix : GameOfLife(only clean up the function)