Programming assignment v01

Two function created based on the example model