create security groups based on list