Fix `pow` to handle power of 0.
Fix `pow` function.
Change unused variable to wildcard.