99 problems: alternative solution for "Run-length encoding"

Fixes https://github.com/ocaml/ocaml.org/issues/129