Simple spark program in scala