completed change making problem with dynamic programming solution