Java - A command-line version of "Tic Tac Toe" the game