Deadlock (Dining Philosophers) Write a program that reveals and solve the deadlock (circular wait or deadly embrace) that may occur in the famous Dining Philosophers problem.