Describe how Run-Length Encoding (RLE) is used to compress data. In your answer, you must include a short example showing a sequence of data before and after compression.