Cryptarithmetic Problem Program In Python