Added python inverted_index