Proof of a mutual exclusion algorithma classic example