Simulated annealing solution for largest digit sum for base and exponent below 100