Spark Core Examples step by step