Changin numbering in problem to be more intuitive.
Adding powerOf() function to verify that a given number is a power of a specified integer.
Adding test function to verify function.
Removing use of array to store values. Adding use of ceuler powerOf() function to see if integer should be multiplied.