Implement `i_nth_root()`
Implement `perfect_power()` and `perfect_square()`