kargerMinCut realisation