updated TicTacToe.java & TicTacToeTest.java