Pulled from bit twiddling hacks webpage
Use typical codegen for the traditional pairwise lgN bitreverse algorithm