refactored extend-env to take a list of bindings