Implemented the symbol table using double lists