Implementing the nullspace algorithm over GF(p) on a ring of processors