expandDag function

Expand enriched GO IDs to include ancestors up to the root