Got the BreadthFirstSearch to work.