python script to get edit distance using Levenshtein