Added search() in trie