fixed error with declaration of global environment
added new test file, fixed procedure?
fixed bug in test code
added test function to main to run all tests
added checking for return type output (output different value if value is closure
merged work
changed comment