prefer explicitly qualified exception List.Empty;
modernized Balanced_Tree;
removed Ids;
Balanced binary trees (material from library.ML);