added another example of non-recursion to accomplish same thing as
powers