Task about leftmost element in each level in Binary Tree