several changes

Abandoned the approach of creating a list of unique characters and then
iterating on that list. Removed all code related to that.

Instead I begin with an empty dictionary, then create a list containing
all the words or strings in my file, I then look at each character in
each word and add them to the dictionary while implementing a counter
to count each time an item or character appears.
efficiency improvements

Begin with an empty set rather than an empty list. This removes the
need to create two lists (one containing all names and another
containing only unique names). The strip command was added to remove
the ‘\n’ from the names.
adjustments to the character count

Before the character count was counting all whitespace as well. To fix
this, I iterate on a list containing each word (created above with the
line.split()) and count those.

I also un-indented the print commands because we can call those after
the file has been closed.