Adds function distinct() and mapValues().
typo fixed.
Fixes style and adds an optional param 'numPartition' in distinct().
Merge pull request #88 from hlin09/hlin09

Adds two functions from Spark: distinct() and mapValues().