Update 'Binary Search Tree to Doubly Linked List'.
- Implement preorder and inorder transformation.