added spark examples source code