mapper and reducer for wordcount example.