Cryptarithmetic Problem Algorithm