added minedit distance

let me know if it works