Implementing Cigarette Smokers Problem with non-cooperating processes