Add a solution of Chapter 1.7 to reverse words in a string