A Java Algorithm to Interleave Bits