On a Relationship Between Programs of Address Machines and Mazurkiewicz Algorithms