Topological Sort Python Code Runner