Semaphore: Implemented the initial_count parameter.