Code works with the example, but it doesn't pass last two requirements. Can someone help me? If it's not possible to to build chain from all words, what should it returns?