finished pthreads, added timer.h