constant (< linear) algorithm for ToH

Constant (< Linear) algorithm for solving the intractable exponential
problem tower of hanoi.