Exercises involving substring search.