created randomly generated groups of pre-determined size