Tree construction from pre-order and post-order traversal completed