A simple spell checker written in c++