displays distance to each location