Using concurrent.futures in mapreduce example.