The function takes a string input and modifies it by adding a standard greeting or farewell phrase to the beginning and end of the string, respectively.

