Computes the minimum number of 'coins' that add up to a certain number. More challenging than anticipated.