Adding schedule repayment logic for distributing payments across multiple amortizations

This is the core of the snowball logic as it takes a single payment, pays the minimum payment on each loan, and distributes the remaining payment toward the extra principal of unpaid debt.