a simple program to prompt and then redisplay the users input