Check whether number is power of 2 or not