Created the body of both functions and commented throughout
Tested functions, both work as expected with the "test" given in the Discussion Forum (Hints for Programming Assignment 2)