added game logic for moving player, detecting a game win, and printing game won string