[tictactoe] added undo to basic version