Added userTurn function