Added code for counting the letter frequency of words.

Running this code takes slightly less than double the time and it prints
out the letter frequency at every heartbeat.