2nd Version

Started work on the calculation of distances
3rd Version

Finished