Debt pay-down calculator in Java