Snippets used for Intro to Hadoop and MapReduce udacity tutorial