Added Haversine formula algorithm.