code: def get_var(self, name):
          
          for var in self.vars:
              if var.name == name:
                  return var
          else:
              raise ValueError
docs: Returns the variable set with the given name.