Inorder traversal and morris traversal