Spark Scala Example Code