ruby implementation of fuzzyfind
clean up