Recipe: Pass a Function As an Argument to Make Helper Functions More Reusable

I like the structure of the examples, but not necessarily their content; I'm open to suggestions for structurally similar but more interesting versions.

Also feel free to comment on style, tense, typos, or any other confusing part or mistake.