read the city coodinates form the file and calculate distance of each
city to other cities