Add a method to the Purse class
public void transfer(Purse other)
that transfers the contents of one purse to another. For example, if a is
and b is
then after the call a.transfer(b), a is
and b is empty.