First version of ReverseWords