use java to simulated the Dining Philosopher problem