Add functional programming examples
Add callback versions of examples
Add introductory section
Refactor to remove duplicated logic
Use strict mode in all scripts