adding undo for won board