Hierarchical Containment Control in Heterogeneous Mobile Networks