A quick example of multithreading