HackerRank Day 8: Dictionaries and Maps problem solution - TheCScience