reverseBitsByte function added