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.
{}.