Completed implementation of CompanyHierarchy.java