parity of a binary number