Code polishing
Improve Levenshtein computation

Increase code complexity to improve memory/algo efficiency