public void removeIndex(int i)
    {
        if (locationEnd.length > 1)
        {
            Location[] newEnd = new Location[locationEnd.length - 1];
            for (int x = 0; x < i; x++)
            {
                newEnd[x] = locationEnd[x];
            }
            for (int x = i; x < locationEnd.length - 1; x++)
            {
                newEnd[x] = locationEnd[x + 1];
            }

            locationEnd = newEnd;
        } else
        {
            locationEnd = null;
        }
    }