Added next part of BCH decoder implementation