Change PowOf2 Program

Now utilizes logarithms.