Added TicTacToe.java file.