Create mainthreads1.c

main function here. with three threads