added wordcount computation for spark clusters in scala