Can somebody explain this to me?

``` if( (j & 1) == 0) ```

j & 1 (bit-wise AND) is the value of the least significant bit of j.

So, this checks to see whether j is even.