complete assignment - Functions

Commit completion of Functions assignment.