bool is_power ( int number, int power )
Check whether given number is a power of given power and returns true (1) if so, and false (0) otherwise.
NOTE: Errors will be generated if the number is negative, or if both number and power are 0 or if power is 0 or 1 (since all of these are illegal values for the logarithmic function).