Implemented Array.Parallel.mapReduce.