Determine a number is a power of 2