work on inverse index lab assignment