search parent environment if symbol is not found in current environment
add function for copying environments
add function for defining variable in global environment