Decremented the numMoves global variable