add Edit Distance first attempt