Adding GraphAlgorithms with BFS and topological sort.