A few spark examples following 'Learning Spark'