Added a test for thread deadlocks, file ThreadDeadlock1
Can show deadlocked threads as well