another edition, maybe it costs less time and less acuracy
a faster edition which I hope it can work well
a better edition
the min cut algorithm by karger, but in this edition I can't make sure find the min cut in right times
git-status shows that this file has modified