Implement the Coin change problem