tests:CODE USING  SEMAPHORE.

Assignment 1