added bit reversal of unsigned int