code: def nextChild(hotmap, index):
          ''' Return the next sibling of the node indicated by index. '''
          nextChildIndex = min(index + 1, len(hotmap) - 1)
          return hotmap[nextChildIndex][1f nextChild(hotmap, index):
          ''' Return the next sibling of the node indicated by index. '''
          nextChildIndex = min(index + 1, len(hotmap) - 1)
          return hotmap[nextChildIndex][1]
docs: Return the next sibling of the node indicated by index.