legendre-symbol-error-correcting-code python code for creating error correcting codes from quadratic residues command line: python lscode.py code-length code-dimension