The Dining Philosophers problem in Java for SWEN342