Creating cage using NEO 6m GPS module

Lat and long would seem to be the logical things to save so that you can calculate the relative position between the original (saved) position and the current position

Another question

        for (i = 0; i < 80; i++)
        {
          digitalWrite(buzzer, HIGH);
        }

It will not cause an error, but what is the purpose of this for loop. It will be completed in microseconds, assuming that is that the compiler does not optimise it away