Create code to calculate distances between sites.