safe_execute function

Safely Execute an Expression