partial tsort

This is the makings of a tsort implementation. I decided I don't want to move forward with it (other things call, and I'm sick of fighting with Rust) but maybe someone can make something of it.