initial effort for Assignment 2: The Dining Philosophers Problem