Chapter 4. Priority Queues