Bch Correcting N Errors

builds a BCH code correcting an arbitrary number of errors