Problem
Define an Index_Tree class such that each node has data fields to store a word, the count of occurrences of that word in a document file, and the line number for each occurrence. Use a list to store the line numbers. Use an Index_Tree object to store an index of words appearing in a text file and then display the index by performing an inorder traversal of this tree.