Update TopologicalSort.scala