add documentation for Edit Distance