implemented a copy method for grid, further groundwork for king move check