Completed refactoring of Interpret program.