A simple practice implementing Peter Norvig's spelling corrector