Thread examples added.