Update exercise 6 to change multiple occurrences of search string