Add solution for UVA problem 674 Coin Change
dynamic programming :
ways[i][j] means how many ways to exchange j cents by the first i kinds
of coins