A simple C++ program that uses threads to add up a million sized integer array.