Functions

Completed first exercise.