Added an example of a dead lock.