dumbed down the levenshtein algorthm to work with pylev