Completed while loop exercise

Used Math.pow() to increment through exponents until 16 is reached