Validate entry on personal function

Used a while loop to make sure that a number was entered not left blank
or a word entered