build a dependency tree of all packackages (not ready yet)