Create power calculation recursion