Solve the 'Reverse Words in a String' question