code: def DisplayIndexAsDictionary(word_occurrences):
      
      word_keys = word_occurrences.keys()
      for num, word in enumerate(word_keys):
          line_nums = word_occurrences[word]
          print(word + " ")
          if num > 3:
              break
docs: print the index as a dict