A Process-Graph Based Formulation of the Syndrome-Decoding Problem