10.2 Run-length encoding