Added error message if user-inputed values are not numbers