DIY: Expressive words

Solve the interview question "Expressive Words" in this lesson.

Problem statement

Given a string, S, and a list of words ...