added processpool.h and edited .c so it compiles