Problem 2

Added if else statement to check if it was a number.