sym tree and array to bst tree