Modified (rle) : changed names from x to width and from y to height.
Changed (rle) : direction of cell traversal from x--> to -->x