Call stack to detect recursion
Hgraph: Recursive function handling