Coin Change Problem Greedy Algorithm Python