construct binary tree by sorted list