Add solution and tests for words_histogram
Add solution and tests for chars_histogram