implement priorityQueue pop() method
fix priorityQueue so that it properly implements container/heap interface; begin test code