Added function to include loan repayment

Every financial plan must also include debt repayment in order to know
how much is left for them to spend every month.