Genetic algorithms as a tool for structuring collaborative groups