return a pointer to the Client structure that corresponds to the given file descriptor, or NULL if no such Client structure exists
Client *find_client(int client_fd, const Client *head)
{
    while (head != NULL && head->fd != client_fd)
    {
        head = head->next;
    }
    return (Client *)head;
}