for (int i=0; i<MAX_FRIENDS;i++){
            User *friend = (currUser->friends)[i];
            if (friend!=NULL){
                for (int j=0; j<MAX_FRIENDS;j++){
                    User *current = (friend->friends)[j];
                    if (current!=NULL){
                     if (strcmp(current->name, currUser->name)==0){
                    (friend->friends)[j] = NULL;
                }
                    }
                }
            }
        }
        free(currUser);
remove the currUser from its friends' friend arrays