MapReduce implementation for counting words in files.