05 basic structure for pthreads; but coredumps