Assortative model for social networks