Simple parser using Bison & Flex. Creating symbol table & do type checking