A function that may be called by lapply() to assign all of the variables in the given environment to slots within a list.
assign_values(X, function_env, return_list)the name of the variable in function_env to assign to the list slot named X
the environment in which you want the function to search for the variable named X
the list item you want to add the value of X to in the slot named X