Parameterize BasicFormatter on char type.
Rename BasicFormatter to BasicWriter.
Parameterize Formatter on character type and rename it to BasicFormatter.