added nesting level generation for symbol table based off of the position of the table in the stack