Braille is a tactile writing system used by the blind and the visually impaired. It is traditionally written with embossed paper. Braille characters are small rectangular blocks, called cells, which contain tiny palpable bumps called raised dots. The number and arrangement of these dots distinguish one character from another.
We will use a 6-dots Braille alphabet. Each letter can be represented as a 3x2 matrix where 1 is a raised dot and 0 is an empty space.
(Letter W is not original)
Letters should be separated by an empty column. Whitespaces are two empty columns (plus a separator empty column if it is between letters). Various formatting marks indicate the values of the letters that follow them. They have no direct equivalent in print. The most important indicators in English Braille are: "capital" and "number". These marks work as "shift" - only for a follow letter.
We will use several basic punctuation symbols:
You are given a page of text and you should convert it into Braille....