Tic Tac Toe game on java