everyone smokes 3 times and quits.
removed unused semaphore declaration. Now uses usleep instead of nanosleep