Craeted the function header.
Evaluated finished and tested.

Recycled code from lab.