Merge pull request #9 from bluss/toposort

Topological order visitor