Fixed traversal algorithm, added test
Fixed traversal algorithm, added test

depth first search now starts at node without incoming edges.
Also added basic test. Code looks extremely ugly, but seems to
work.

mkovarik/Graphyll