A simple spell corrector in Python