Text this: Modified algorithm for hard decision decoding of product codes