Python Autocorrect Program