Add inverted_index.erl

Added inverted_index.erl