-Added a user input prompt and some simple input validation logic
-Did some refactoring