bitrev3.c using different loop method than bitrev2.c