This recipe shows how to create an interactive command line prompt that repeatedly generates a random number between 1 and 6.
Prompts the user to "roll the die", and then prints a random integer between 1 and 6 to the console. User will continue to be prompted to roll again or to quit by typing "q" + ENTER.