updated to deal with nospaces and to provide percentages of first letters for analysis