added the Tictactoe java file