Parity function for initial boards implemented.