Create run length encoded