The function f(x) takes a string as input and replaces each character with a character that is a fixed number of positions ahead in the alphabet.

