Cryptarithmetic Problem Using Python Help