changed to NNINdex to HOTSIndex, added doctest for build_inverted_index, added __eq__ to qres. More asserts in test_query. Fixed kwargs in _query_chips