Get the index for an ASCII letter.
letter_to_idx(letter)
letter
the letter.
# letter 'b' translates to 2 letter_to_idx('b')