refactored PlayTurn method in the main class