Implement fuzzy search. Add commenting to search

Add fuzzy search capabilities

Commented code for readability