added url http://www.cs.berkeley.edu/~vazirani/algorithms/chap6.pdf