Create a binary tree in order, and hierarchical traversal