Added recursive exponentiation.