Project Euler #31: Coin sums