finished implementation of SpellChecker