implemened nearest friend algorithm

used Haversine method for calculating mid-point and distance between two
points. Added corresponding webservices to server to return nearest
friend locations.