Sloppy implementation of Karger's contraction algorithm
Document minimum cut functions