Functions written

Completed programming task