Week 3 apply functions
Merge https://github.com/vmsmith/datasciencecoursera