modified run-length encoding
decode a run-length encoded list