Update rod_cutting.erl