I want to write a program that replaces words in a string. For example, if the user inputs "hi" as a word to replace and then "hello" as a replacement word, then they enter a phrase such as "hi world!" the program would then output a message as "hello world!"