Added exception handling for Main UI

Added try-catch blocks inside of functions to check for bad input from
user for principal, interest rate, and loan term.