The establishment of a binary tree and the anterior middle and rear traversal