Add solution to Reverse Words in a String (Leetcode)