Update topsort.py