Homework 7: Coinpurse