Functions Assignment

Finished assignment