For CS155 with Khuri for Rod Cutting Project