refactor levenshtein. because using with_index is simpler than each_with_index
Merge pull request #4 from tbpgr/refactor_levenshtein

refactor levenshtein. because using with_index is simpler than each_with...