Scala Simulation of the Dining Philosophers Problem