Fixed an AST bug, and updated the symbol table function!