An Objective-C implementation of a k-D tree with arbitrary objects.