Exercise 117: function design complete
End of class