Assume the Dining Philosophers problem. Explain the problems and assess what will happen if we allow the following code:
a) Pick up chopstick on right, If chopstick on left is free, take it; else drop right chopstick. When done, drop both chopsticks.
b) Pick up chopstick on left. Pick up chopstick on right. Don't drop any chopsticks unless you ate.