Now I print out the frequency table with the most frequent letter at the top. Also added a more robust test with mixed case.