An example of a string compression algorithm