In problem 14 the statement says:
Write a program that maps a list of words into a list of integers representing the lengths of the corresponding words
But the solution seems to return a list which contains the lengths of the words only rather than the mapping. I have added an alternative solution which returns the map of word and its length. Check and confirm.