Create Dynamic Array with Treap