code: def build_path(levels):
      
      path = os.path.join(*levels)
      if not dir_exists(path):
          os.makedirs(path)
      return path
docs: make a linear directory structure from a list of path levels names
      levels = ["chefdir", "trees", "test"]
      builds ./chefdir/trees/test/