The function replaces each letter in the input word with the letter that comes before it in the alphabet.
