Added Subsecvente2 solved with Trie class