Spell Correction in Scala