From a list of words it returns a dictionary with the word as a key and its index as a value position in a text
According to a list of words, it finds everyone of their position (index) in a text. It returns a dictionary with the words as keys and a list of index positions as values.