updated tictactoe.java