Tree traverse

non recursive tree traverse for preorder, inorder and postorder. All the
test cases are available for random generated binary tree.