Added pointers from AST ideantifier leaf nodes to the ST and did some basic setup for type checking