add new algorithm for a^n.
Problem: find out the mini time of lots of Batch jobs.