Created mincut graph problem