Checking-in solution to finding total amount in a Piggybank