change error message for SymbolTable's undeclared variable error
initial functionality of resolver
refactor resolver