Updated TicTacToe.java file.