non recursive inorder binary tree tranversal
decode ways