Solved Problem 8: Reverse Words