run length encoding

I got it right on the first time!