added Ex6: spellchecker