Week1 day 3 lab - character counting exercise implemented using a hash collection