solved 674 - Coin Change from UVA Online Judge