lab2 Pthreads