added test case and method to give distances to a city
added comments