solved BinaryTreePreorderTraversal with iterative method