Coin Change Algorithm Dynamic Programming Python