Created function prototypes and finished the prompts to get user input