Adding the geofence algorithm code.