Console TicTacToe during learning Java