The function takes a string input and replaces all instances of "nm" with "world".

