Added undoing a move

Added undoing a move