Make the symbol table visitor error when an undeclared variable is used or assigned to