The function always returns "undefined" regardless of the input word.
