Assignment - Functions

Comments added to the wacky assignment in order to explain each line