Modified Coin and Driver from hw 5, added CoinPurse