add binary tree preorder traversal class