A spin on the dining philosophers problem, not thread safe yet