Minimum distance and other properties of quasi-dyadic parity check codes