call the end node what we should call it
failing unit test to exhibit a weekness in the acyclic graph detection
More direct demonstration of the problem
Fix the sort algorithm. In the process, DirectedGraph no longer needs to
know the type of each node.