On the Grobner Basis of a Family of Quasi-Cyclic LDPC Codes