Solution to ITA's BitVector Genealogy puzzle