mortgage Calculator code

you have to clean up the code and make it work, but I got stuck trying
to test this. But the logic is sound. call me if you have questions. I
rounded everything to the base of 2^-n