basic solution using map and reduce alone.

mapper verifies whether the word is made up of other words in the file and outputs such a word to reducer. Reducer then returns the longest and 2nd longest words along with the total number of such words.