Fixed the TicTacToe.
added toString method for the hashcode