Data source: http://rosettacode.org/wiki/Run-length_encoding