Add solution for COINS

http://www.codechef.com/problems/COINS/