Change interface of input function
Fix argument of _runHadoopReducer function
Add _input function