Implement function to calculate edit distance between two strings.
Implement function to calculate edit distance between two strings.

When finding words based on soundex, find the closest word having
minimum edit distance. Right now limiting this to only one entry,
which needs to be fixed to accomdate the number of words as requested
in the API call.

abhinav-upadhyay/nbspell,abhinav-upadhyay/nbspell