added MinCoins.cpp