maxheap priority_queue struct implemented by single link list