Add DeadlockExample

This example demonstrates deadlock during class loading.