String and text processing homework.