Create threadaddSem.c

Use of binary semaphore.