Create TicTacToe.java

The class to handle the board and major methods of Tic-Tac-Toe