Simple power of two test