Update problem14 'Orders and costs'.rb