added pop() in ch6/priority_queue