added reference code for hadoop
- different type of reducer logic