Fixed function that didn't account for unaffordable values
One function did not account for the possibility that the minimum payment the user could make would not decrease their debt load. This situation has now been accounted for so the program should give good output in all cases.