Added Spark sample code and build file