reducer.py

Removed the dict and the mirroring logic. Moved this to the mapper. Simplified the reducer to just segregate same keys and consolidate its values.