Create Binary Tree Preorder Traversal (pyemma)