quickselect/partition, added (but not integrated) Shewchuk's predicate library