interesting parts of the proof are done
order_cut.py