'returns the object with the name supplied'

def get_child(self, child_name, kids):

    for kid in kids:
        if (kid.data == child_name):
            return kid
    raise ValueError('Value    not    in    this    tree')
