created moves variable for 2D array