Update min_cost_flow.cpp