Corrected solution to challenge 3.

String comparisons were not being done on normalized (ignoring case) strings.
Removed unused character frequency map.