update spell_correction.py. (made it much faster)