Python: How to Write a Spelling Corrector (in 21 lines)