Pearson Codes Design With Error-Control Capabilities