Compound Interest and Loan Repayment