Commit Refactor

Refactoring Bin Heap implementation of PQ interfaceand PQ interface