cfg: create a proper graph instead of the array nonsense.
some junk code to test the graph given from cfg.
cfg: add String() conversion for Nodes.
simplify debugging, find function in graph.