結果 : topological sort example problem