added simple pthreads example