Initial implementation of symbol table
Continue AST. Fix bad yacc indices.