clean up of tictactoe.java