h9 (convert a list into list of consecutive elements) and
h10 (run length encoding of a list)
from h99