adds a program that reverses words in a given paragraph