Added variation of number of threads to parallel summation example