Return the parity-bit from the data.
data (int)
even (selection parity, even or odd)
1 if data is even numbers of “1”
0 if data is odd numbers of “1”