finding the least number of coins for a Value using Dynamic Programming