Create Minimum Cost (maximum) Flow