The function takes word inputs and returns the capitalized version of the input word.
