a little script to pretty-print word frequencies