Changed value such that it check if the total value of the parity is 0.
If it is zero, then it is even.