Merge the two versions findPreviousIDWithRecursion
Use report_fatal_error in findNextAddress
Move the comments from h to cpp for TraceFile
Use worklist.empty() instead of checking size()
Compare the thread id for findPreviousID()
Extract the auto test directories to a txt file

Also add the test21 to the auto test directory.
Compare the pthread id while finding nested IDs
Refine the answer of the inst pthread for kmeans