<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_child_pos(self, child):
 """ 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 """


        for c, pos in self.children:
            if child == c:
                return pos