Chapter: Type switch

Fixed #11

TODO: There's some problem for comment alignment in code blocks with fullwidth
Chinese characters inside. Maybe we need to check the font settins or
stop translating strings in examples.
Merge pull request #13 from COLDTURNIP/ch-type_switch-release

Chapter: Type switch