Finished the 3rd constructor.

This constructor creates a regular LDPC parity check matrix according to input parameters.