adding loan calculator file

-Inspired as an exercise from O Reilly Javascript tutorial.