added coordinate index and the search of words at some distance