Program to compute pow.