Create distance.py