wrapper for constructing, removing and handling with semaphores
Implements a couple of pull request comments
Merge pull request #3 from andres-arana/semaphore

wrapper for constructing, removing and handling with semaphores