Inspired from https://github.com/huyng/algorithms/blob/master/vptree/vptree.py A quick implementation of VPTree in swift Currently it construct the Tree without any optimisation or rebalancing the node.