implement rleString object