Rod Cutting Recurrence Relation