loan calculator base code for HW5