made changes to symboltable-related java files and adjusted typecheck.g