The finished homework from the Strings and text processing lecture