Assignment - Functions

Comments added to every line.