Modified Semaphores to support all functionality required for my reader-writers algorithm. Modified Semaphore_test to use my algorithm