Changed letter_to_morse from a global to a member variable.