Single error correction without using particular properties of the cyclic codes