Akamai interview question

write a module to reverse the words in a given string