Created functions intro and user interaction, refactored functions for scope