Added basic operation for the Mapper and Reducer.