Peterson%27s algorithm

undefined