Exercise 25, Fun with functions