Multithreaded C Program Using The Pthreads Apiary