forked from: Fuzzy search algorithm

