updated the AVLTree, BinarySearchTree, and implemented CountSmallerElems problem using Binary Index Tree