@Override
public boolean transfer(String playerFrom, String playerTo, double amount) {
this.checkExist(playerTo);
this.checkExist(playerFrom);
if (this.canAfford(playerFrom, amount)) {
Account p1 = new Accounts().get(playerFrom);
Account p2 = new Accounts().get(playerTo);
p1.getHoldings().subtract(amount);
p2.getHoldings().add(amount);
return true;
}
return false;