Interpreter for Straight Line Program in Appels Compiler textbook