Define product in terms of mapReduce