Added implementation and test case for rod cutting problem.