Added DP implementation for minimum sum of coins.