POJ1001  Exponentiation ,Multiply function for high precision