some bugfixes and allow to retrieve the value when deleteing the min/max
added a priority-queue implementation