Add exercise 1(semaphores)