Python Programming Homework Help - Solution on Hash Table