Version 6 exercise 4
Refactoring the code using methods, creating an interactive menu, and creating a global variable