Completed the challenge at Chapter 5 functions.