User *find_user(const char *name, const User *head) {
    User *temp = (User*) head; //Is this what it means by casting?
    while (temp->next != NULL)
    {
        if (strcmp(temp->name, *name) == 0)
        {
            return temp;
        }
        temp = temp->next;
        
    }  
    return NULL;
}
    
This should traverse through the linked list starting with head, and return a pointer to the node whose name is equal to the parameter name