cut-rod Optimum way of cutting up a rod using dynamic programming. The problem is obtained from the book "Introduction To Algorithms" by Cormen et al.