Added reducer.py