A few simple functions to generate an amortizing loan schedule.