Just a basic solution to the classic Coin Change Problem: http://en.wikipedia.org/wiki/Coin_problem