training mode: includes BST inorder traversal