Example 1: Assign types


Simply replace characters of a given type with character standing for that type

Because we are using lower case letters for types, first step is to replace all lower case letters with 'l' (LTR)