Dining Philosophers solution based on initial conditions