A code kata to calculate optimal pricing of combinations of items with a given discount strategy