Update hw 7 - Add coin removal and get total coin value