Added semaphore example, monitor examples (with inappropriate usage)