Added while loop and empty gameover check so multiple moves are now possible