Refinements to the tutorial and upgraded to Spark 1.0.1.