Implemented moves to mutate the grid.