Added conversion from persistent to non-persistent treap and vice versa