public int find(Person friend)
    {
        for (int i = 0; i < friends.size(); i++)
        {
            if (friends.get(i).equals(friend))
            {
                return i;
            }
        }
        // If the person is not found by the end of the friends list
        return -1;
    }