Change edit distance heuristic.

Previous one allowed maximal edit distance to grow with the length
of the word, but this gives chances to words that are too unrelated.
Switching to a constant maximal distance of 2.

Closes #11.