Add class Treap, beginning generic split method.