Added avl_tree search function