code: def find_sections(lines):
      
      sections = []
      for line in lines:
          if is_heading(line):
              sections.append(get_heading(line))
      return sections
docs: Find all section names and return a list with their names.