Update min_cut.py

updated with code that produced correct result