PETERSON METHOD

Flag1: 0
Flag2: 0
Entry state:
Critical state:
Exit State: