Finished implementing the interpreter.