Dynamics and stability of small social networks