Implemented spell correction with bug fixed...

1. Implement spell correction…
2. Fix some bugs in BK Tree…