docs: def _first_expander(fringe, iteration, viewer):
      '''
      Expander that expands only the first node on the fringe.
      '''
      current = fringe[0]
      neighbors = current.expand(local_search=True)
  
      if viewer:
          viewer.event('expanded', [current], [neighbors])
  
      fringe.extend(neighbors)