Tia Tac Toe in Java