make_cohort_group function

Create a cohort group