learning to use spark core with node