Changed how the manager loop condition.
Changed dccThreadExit to change the terminated thread to NULL, and decrementnumThreads_.
Changes:
When a Thread exits it now swap it with the thread at numThreads and free itself.
Fixed Code after previous changes.
Some race condition is happening, it segfaulted on 1 out of 8 rans.
Ran a few times and no segfault, the code seems to be secure now.
Merge origin/Part_4 into Part_4