PQ is now generic and supports deletion of any element in the heap