Problem for week 3. KMP, interesting~