A priority queue (implemented as a binary heap) written in Objective-C