Basic Semaphore Handling

Creating, taking and releasing semaphore example