Accidentally deleted SimpleSemaphore from Assignment3. Adding it back.