power using recursion cpp code