Prepare to add algorithms to graphlib
Add source and sink queries to Graph
Add topsort algorithm
Add alg.isAcyclic