Topological Sort Python Code Runner App