The rule applied by the function f(x) is to return the first letter of the input word.
