def METHOD_NAME(sections: List[str], depth: int=1) -> str:
    """converts list of string into [list][[of]][[[strings]]]"""
    this_part = depth * '[' + sections[0] + depth * ']'
    if len(sections) > 1:
        return this_part + METHOD_NAME(sections[1:], depth=depth + 1)
    else:
        return this_part