Add basic.c and threads.c