code: def get_child_pos(self, child):
          
  
          for c, pos in self.children:
              if child == c:
                  return pos
docs: Returns the position if the given child
  
          If the given node is the left child, 0 is returned. If its the right
          child, 1 is returned. Otherwise None