finished text processing homework