Repaced the instanceof within the InterpreterVisitor class with an .equals