Scientists create ‘rewritable magnetic charge ice’