Update edistance.py