Refactored to use variables and take user input

Error on text entry not working.
Refactor #2

Added prompt function.  Not working…