implemented decoding of a run-length encoded list (P12)