added basic logic to calculate distance between two geopoints using the haversine algorithm