Tidied up char freq

Tidied up chat freq and moved put char map printing into it’s own
method.