The Target Model for Genealogical Networks