Finished the second function. Fixed the first function to not include prompts as per instructor request in the lecture.