ex14
refactor print_letters