CC11_8

solved using a new class: BST_with_rank extends BST