Created a method that checks to see if a given input is a number or not, and returns various Exception messages if the result is false.