Simple program to calculate amortization