Updated Initializing Mapper and Reducer.