1.basic usage of thread.