Changes player1 to 0 and player2 to 1