Completes SpellChecker toy problem