Add a new way to preorder traverse binary tree