Adding RLE implementation