Here is my code:
Dictionary format: index["help"] = [5,[3,5,12,78]] index["time"] = [2,[13,205]] // format of dictionary: index[term] = [