refactored AST: added ASTBase class, containing typechecking method and Antlr4 Token Information + using constructors instead of properties. circulair references prevented, duplicate label checking added. removed unused interface