finishing impl of correctDataErrors() fn
removing incorrect parity errors count check
adding fn flipBit