Create Powers of Two

determines if a number is a power of 2