avl_tree is implementation of an AVL tree (a balanced binary search tree)