Added thread basic usage example.