Create extract_groups_from_survey.py