The proposed spell checking algorithm is very naive. Propose extensions to this algorithm that would improve the quality of the spell checker. There is no single right answer here. You may brainstorm your own ideas or do some research online to see what current spell checkers do. Describe how you would enhance the spell checker.