add a program caculate power