Simple TicTacToe written in JAVA