revised StarvingPhilosopher