ch01_05 string compression