Implementing the Levenshtein distance in Python for autocorrect and autocomplete | Hacker News Reader