Spell checker written in Java