solve 11 & 12 run length encodings