Network Dynamics of Social Behavior