flatten.py, dsu_sort_example.py