Finished logic for dimes, nickels, and pennies.