initial commit for min-cut