added mapper and reducer for count words