Assignment 2 code

This is my lexical scoping assignment.