Added Thread class examples.