Add description for passing function as a parameter.
Merge pull request #6 from larrylv/patch-4

Add description for passing function as a parameter.