I had the initiative to fix tranposition bug that i talk about in my issue and add some tests based.
Bug
Only to explain when you calculate the distance of "test" to "tets" you got 2 steps but it's only one step. (You need only make a transposition of "s" and "t")
Thank you. I think I like it. Need a little more time to comprehend your changes. I'll try to make some time on the weekend and then merge and publish it.
I had the initiative to fix tranposition bug that i talk about in my issue and add some tests based.
Hope you like.