Fix typos in erasure code documents

The first coding chunk contains 'YXY' in any other places in this document. This patch fixes this typo from 'XYY' to 'YXY'