Create reducer.py