String search algorithms by implementing edit distance and trie data structure.