adds Karger's MinCut alg problem