Script to generate groups within a set of people\items\etc