Adding up array in parallel. First attempt
An alternative (even better) divide and conquer solution where we only spawn extra threads when it makes sense: