Inverted index reducer

Two corrections; note that the list.sort() method returns None.
Update inverted index reducer

Two corrections; note that the list.sort() method returns None.
Update inverted_index_reducer.py

Two corrections; note that the list.sort() method returns None.
Merge pull request #1 from mathresearch/master

Update inverted index reducer