task 3

prevents the user from leaving a the name blank