@ -19,6 +19,8 @@ def safe_pred(node):
return None
def first_brother(node):
if node is None:
brother = node
while safe_pred(brother) is not None:
brother = safe_pred(brother)