add inorder traverse without recursion