working pair mapper and reducer - need to deal with keys across tasks