Improved comments for semaphore program