working spell corrector but not working for larger words(taking time because of calulating 2/3 edit distance)