Java Program Error Correction Code Ecc