get_family_graphs function

Automatically identify family members of degree n