Added docs for toposort and code coverage for astar