mincut working good for test case MinCut_8_1.txt