Karger's Min Cut algorithm