fixed reportNewPQueue()
fixed some heap bugs so it works
fixed replacePQueue()