added a parallel transform function from C++ Concurrency In Action to play around with