Fix to powerof2.c

Fixed to display only first 32 powers of 2