String compression

I think this solution might work, but it's kinda nerve wracking having
to do all this coding in a text editor without a compiler to check my
work. I guess that's the point, right?