Create reducer.py

HADOOP - Reducer Code for classifying the MNIST Handwritten Digits dataset. This code reads the key value pairs from the sys.stdin, as passed by the Mapper. The key and values are stored in separate lists. The Random Forest Algorithm is trained on these lists, and then the test data is used to make predictions from the trained algorithm.