Added while statement

validation of the first prompt. Also added parse int to make the string
a number