simple spell checker in c