C++ to implement a fast insert and search library management system with AVL trees, linked list, priority queues, etc