Autocorrector that uses the minimum edit distance and prefix trees to suggest replacements for misspelled words