The function takes a word as input and returns the last letter of the word.

