When the user inputs text, make a dictionary to store how many times each
character appears, and increment the appropriate character each time a character is
found. Then loop through the dictionary to show the character frequencies.
For formatting a number to a fixed number of decimal places, use the
toFixed method.