moved some more code from Interpreter to Environment, and changed name conflict of lookupvar