geolocation algorithm sucessfully implemented

working on the realtime one and try to finish it real quick