Algorithms and data structures min cut lab in C.