int make_post(const User *author, User *target, char *contents) {
    if (author == NULL || target == NULL){
        return 2;
    }
    for (int j = 0; j < 10; j++){
        // doing this for author cuz if they're friends - it's symmetric
        if (target->friends[j]->name != author->name){
            return 1;
        }
    }

    // create new post struct
    Post *new_post;
    strcpy(new_post->author, author->name);
    new_post->contents = contents;
    
    if (target->first_post->next == NULL){
        target->first_post->next = new_post;
    }
    Post *curr = target->first_post->next;
    target->first_post->next = new_post;
    new_post->next = curr;
    
    return 0;
}
This function is supposed to do the following.

Make a new post from 'author' to the 'target' user, containing the given contents, IF the users are friends. Insert the new post at the *front* of the user's list of posts. 'contents' is a pointer to heap-allocated memory - you do not need To allocate more memory to store the contents of the post. Return: - 0 on success - 1 if users exist but are not friends - 2 if either User pointer is NULL