added more topological sort content