Cryptarithmetic Problem Using Python Dictionaries