A search box needs to know, for every word, which notes it appears in.
Task: write build_index(notes). notes is a list of text notes; note 0 is the first one. Return a dictionary mapping each word to a sorted list of the note numbers it appears in.
{}.Once your code passes every test, a reference solution shows up here so you can compare it with yours.