Prime Implementation for fuzzy searching