C Integer Power Function Definition