distance function
Merge branch 'master' of https://github.com/paulddraper/lab5
distance function