Added an example of generating a timeline with the execution of different threads.