Basic TicTacToe game created using Java