function out = buildTree(A)
out = {};
for j = 1:length(A)
    out = insert(out,A(j));
end;