construct binary search tree from preorder traversal python