Constructed DAG of productions that reference other productions (variable 'stack' in gen(gramDict, n) in gen.py)