The function f(x) takes an input string and produces an output string by shifting each character in the input string by a certain number of positions in the alphabet.
