Adding inverted_index.py