PQue: compare function
Stack: test for empty on pop
Btree: stack path