Your task is to duplicate all short words (that is, words with at most 3 characters) in a linked list. For example, you should transform the linked list with the elements
Mary, had, a, little, lamb
into
Mary, had, had, a, a, little, lamb