build binary tree from pre-order and in-order traversal.