implement random access with operator [] in rle_string
do some renaming