problem 31 - Coin Sums