spell checker in C using loaded dictionary