Sorted array to bst.