Implement a Counting Semaphore | DevPrep