master
recursive_grouping
def recursive_grouping(cls, hosts, combine, hostindex, init_host, base_hostlist):