added simple mapper and reducer