created a "while" loop for if the user left the prompt blank or didn't use a number but use a sting instead