Update sem.h

Added comments to the Semaphore file.