added reset for tictactoe