Added the preorder and inorder