finished inverse_index_lab