Reverse words in string

Added function that reverses individual words in a string, as per the
interview question from Tallan