Added Illegal Argument Exceptions

Applicable methods in the CompanyHierarchy class now throw an
IllegalArgumentException if passed null as a parameter.