add convert sorted array to bst solution.