Import David Barr's treap implementation.
tree338ffdd7549dfb9a34d59531eb9106a638084e05
-rw-r--r-- 9740 trp.h