Simple app for multithreading from Stanford CS193P