Extended the Interpreter.java to do two passes on the AST before interpreting the program