Modeling network growth with assortative mixing