modified SimpleSemaphore.java again