Added an iterative graph search. It has some mysterious problem with things being set to null.