publish solution of POJ 1001 Exponentiation