Added logic for changing turns, determining a winner, and added text for the conclusion to the game