String compression problem 1.6