finds intersection of trainee groups
separated trainee_select into own js and html files. renamed from traineeGroup to trainee_select